#ifndef DEFMAIN_H
#define DEFMAIN_H

//#include "com_llist.h"
#include <vector>

#define NB_MAX_PROGS 10 //max number of warrior which can be loaded in memory.

//shared structure for the two main threads
struct par{
    std::vector<char*> liste_files; //linked list of the files (warriors) loaded
	//llist liste_files;
	bool loop_ok;	//true if the program doesn't have to terminate
	bool play;	//true if the "play" button is on
	bool full;	//true if a new program (warrior) is to be loaded
	int speed;	//speed of the execution (=number of millisecond between each iteration)
};

#endif


